package com.lc.user.express.my;

import android.os.Bundle;
import android.webkit.WebView;

import com.lc.user.express.BaseSecondActivity;
import com.lc.user.express.R;
import com.lc.user.express.httpserver.Net;



/**
 * Created by Administrator on 2016/4/6.
 */
public class MyUserAgreement extends BaseSecondActivity {
    WebView web_user;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_useragreement);
        setTitle("用户协议");
        web_user = (WebView) findViewById(R.id.web_user);
        initWebView(Net.WEB_USERINFO);

    }

    private void initWebView(String webUrl) {
        if (web_user != null) {
            web_user.loadUrl(Net.SERVER + webUrl);
        }

    }
}
